$(document).ready(function() {
	wHtml();
});
function wHtml(){
    var hContent = "<ul class='iLB' id='iLBU' style='margin-left:0px;'>";
	for(var i=1;i<3;i++){
		hContent += "<li>"+"<img src=\""+contextPath+"/resources/img/xfaq"+i+".jpg\" width='45' height='40' onmouseover='viewPic(this)'/>"+"</li>";
	}
	hContent += "</ul>";
	document.getElementById("cImgDL2"). innerHTML = hContent;
}
function viewPic(_this){
	document.getElementById("cImgDBI").src = _this.src;
}
function setLM(){
	var mLeft = document.getElementById("iLBU").style.marginLeft;
	var lLeft = mLeft.split("p")[0];
	if(lLeft<0){
		document.getElementById("iLBU").style.marginLeft = parseInt(lLeft)+40+ "px";
	}
}
function setRM(){
	var mLeft = document.getElementById("iLBU").style.marginLeft;
	var lLeft = mLeft.split("p")[0];
	if(lLeft>-470){
		document.getElementById("iLBU").style.marginLeft = parseInt(lLeft)-40+ "px";
	}
}